package cn.iocoder.yudao.module.eval.controller.admin.plan.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import javax.validation.constraints.*;

@Schema(description = "管理后台 - 评价计划复制 Request VO")
@Data
public class EvalPlanCopyReqVO {

    @Schema(description = "原计划ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    @NotNull(message = "原计划编号不能为空")
    private Long id;

    @Schema(description = "新计划名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "2024年数控车工技能等级认定-副本")
    @NotEmpty(message = "新计划名称不能为空")
    @Size(max = 200, message = "新计划名称长度不能超过200个字符")
    private String newPlanName;

    @Schema(description = "新计划编码", requiredMode = Schema.RequiredMode.REQUIRED, example = "PLAN-2024-001-COPY")
    @NotEmpty(message = "新计划编码不能为空")
    @Size(max = 50, message = "新计划编码长度不能超过50个字符")
    private String newPlanCode;

}
